# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MainDialog.ui'
#
# Created: Mon Feb 17 23:47:19 2014
#      by: PyQt4 UI code generator 4.10.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MainDialog(object):
    def setupUi(self, MainDialog):
        MainDialog.setObjectName(_fromUtf8("MainDialog"))
        MainDialog.setEnabled(True)
        MainDialog.resize(400, 546)
        MainDialog.setMinimumSize(QtCore.QSize(400, 546))
        MainDialog.setMaximumSize(QtCore.QSize(400, 546))
        MainDialog.setLocale(QtCore.QLocale(QtCore.QLocale.Chinese, QtCore.QLocale.China))
        self.tabWidget = QtGui.QTabWidget(MainDialog)
        self.tabWidget.setGeometry(QtCore.QRect(10, 20, 381, 511))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.tabWidget.setFont(font)
        self.tabWidget.setTabsClosable(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_online_keeper = QtGui.QWidget()
        self.tab_online_keeper.setObjectName(_fromUtf8("tab_online_keeper"))
        self.groupBox = QtGui.QGroupBox(self.tab_online_keeper)
        self.groupBox.setEnabled(True)
        self.groupBox.setGeometry(QtCore.QRect(10, 10, 351, 271))
        self.groupBox.setFlat(False)
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.online_keeper_username = QtGui.QLineEdit(self.groupBox)
        self.online_keeper_username.setGeometry(QtCore.QRect(50, 210, 113, 20))
        self.online_keeper_username.setObjectName(_fromUtf8("online_keeper_username"))
        self.online_keeper_passwd = QtGui.QLineEdit(self.groupBox)
        self.online_keeper_passwd.setEnabled(True)
        self.online_keeper_passwd.setGeometry(QtCore.QRect(50, 240, 113, 20))
        self.online_keeper_passwd.setFocusPolicy(QtCore.Qt.WheelFocus)
        self.online_keeper_passwd.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
        self.online_keeper_passwd.setInputMethodHints(QtCore.Qt.ImhHiddenText|QtCore.Qt.ImhNoAutoUppercase|QtCore.Qt.ImhSensitiveData)
        self.online_keeper_passwd.setEchoMode(QtGui.QLineEdit.Password)
        self.online_keeper_passwd.setObjectName(_fromUtf8("online_keeper_passwd"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setGeometry(QtCore.QRect(10, 213, 46, 13))
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setGeometry(QtCore.QRect(10, 244, 46, 13))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.pushButton_online_keeper_add = QtGui.QPushButton(self.groupBox)
        self.pushButton_online_keeper_add.setGeometry(QtCore.QRect(180, 208, 151, 23))
        self.pushButton_online_keeper_add.setObjectName(_fromUtf8("pushButton_online_keeper_add"))
        self.pushButton_online_keeper_cancel = QtGui.QPushButton(self.groupBox)
        self.pushButton_online_keeper_cancel.setGeometry(QtCore.QRect(180, 239, 75, 23))
        self.pushButton_online_keeper_cancel.setObjectName(_fromUtf8("pushButton_online_keeper_cancel"))
        self.pushButton_online_keeper_del = QtGui.QPushButton(self.groupBox)
        self.pushButton_online_keeper_del.setGeometry(QtCore.QRect(260, 239, 75, 23))
        self.pushButton_online_keeper_del.setObjectName(_fromUtf8("pushButton_online_keeper_del"))
        self.online_keeper_account_list = QtGui.QTreeView(self.groupBox)
        self.online_keeper_account_list.setGeometry(QtCore.QRect(10, 20, 331, 181))
        self.online_keeper_account_list.setItemsExpandable(False)
        self.online_keeper_account_list.setObjectName(_fromUtf8("online_keeper_account_list"))
        self.pushButton_online_keeper_start = QtGui.QPushButton(self.tab_online_keeper)
        self.pushButton_online_keeper_start.setGeometry(QtCore.QRect(10, 450, 351, 23))
        self.pushButton_online_keeper_start.setObjectName(_fromUtf8("pushButton_online_keeper_start"))
        self.label_3 = QtGui.QLabel(self.tab_online_keeper)
        self.label_3.setGeometry(QtCore.QRect(186, 325, 61, 16))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.spinBox = QtGui.QSpinBox(self.tab_online_keeper)
        self.spinBox.setGeometry(QtCore.QRect(260, 320, 81, 22))
        self.spinBox.setAcceptDrops(False)
        self.spinBox.setMinimum(10)
        self.spinBox.setMaximum(120)
        self.spinBox.setProperty("value", 60)
        self.spinBox.setObjectName(_fromUtf8("spinBox"))
        self.label_4 = QtGui.QLabel(self.tab_online_keeper)
        self.label_4.setGeometry(QtCore.QRect(185, 293, 81, 16))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.spinBox_2 = QtGui.QSpinBox(self.tab_online_keeper)
        self.spinBox_2.setGeometry(QtCore.QRect(260, 290, 81, 22))
        self.spinBox_2.setAcceptDrops(False)
        self.spinBox_2.setMinimum(60)
        self.spinBox_2.setMaximum(3600000)
        self.spinBox_2.setProperty("value", 120)
        self.spinBox_2.setObjectName(_fromUtf8("spinBox_2"))
        self.pushButton = QtGui.QPushButton(self.tab_online_keeper)
        self.pushButton.setGeometry(QtCore.QRect(120, 319, 41, 23))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.spinbox_lession_selector = QtGui.QSpinBox(self.tab_online_keeper)
        self.spinbox_lession_selector.setGeometry(QtCore.QRect(71, 319, 41, 22))
        self.spinbox_lession_selector.setMinimum(2)
        self.spinbox_lession_selector.setMaximum(30)
        self.spinbox_lession_selector.setObjectName(_fromUtf8("spinbox_lession_selector"))
        self.label_5 = QtGui.QLabel(self.tab_online_keeper)
        self.label_5.setGeometry(QtCore.QRect(20, 315, 51, 31))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.label_6 = QtGui.QLabel(self.tab_online_keeper)
        self.label_6.setGeometry(QtCore.QRect(20, 285, 51, 31))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.spinbox_lession_selector_by_credit = QtGui.QSpinBox(self.tab_online_keeper)
        self.spinbox_lession_selector_by_credit.setGeometry(QtCore.QRect(71, 289, 41, 22))
        self.spinbox_lession_selector_by_credit.setMinimum(2)
        self.spinbox_lession_selector_by_credit.setMaximum(30)
        self.spinbox_lession_selector_by_credit.setObjectName(_fromUtf8("spinbox_lession_selector_by_credit"))
        self.pushButton_lession_selector_by_credit = QtGui.QPushButton(self.tab_online_keeper)
        self.pushButton_lession_selector_by_credit.setGeometry(QtCore.QRect(120, 289, 41, 23))
        self.pushButton_lession_selector_by_credit.setObjectName(_fromUtf8("pushButton_lession_selector_by_credit"))
        self.groupBox_2 = QtGui.QGroupBox(self.tab_online_keeper)
        self.groupBox_2.setGeometry(QtCore.QRect(10, 380, 351, 61))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.checkbox_lession_select_in_refresh = QtGui.QCheckBox(self.groupBox_2)
        self.checkbox_lession_select_in_refresh.setGeometry(QtCore.QRect(13, 14, 131, 16))
        self.checkbox_lession_select_in_refresh.setChecked(True)
        self.checkbox_lession_select_in_refresh.setObjectName(_fromUtf8("checkbox_lession_select_in_refresh"))
        self.radioButton_lession_select_in_refresh_by_credit = QtGui.QRadioButton(self.groupBox_2)
        self.radioButton_lession_select_in_refresh_by_credit.setGeometry(QtCore.QRect(10, 40, 101, 16))
        self.radioButton_lession_select_in_refresh_by_credit.setChecked(True)
        self.radioButton_lession_select_in_refresh_by_credit.setObjectName(_fromUtf8("radioButton_lession_select_in_refresh_by_credit"))
        self.radioButton_lession_select_in_refresh_by_lessionnum = QtGui.QRadioButton(self.groupBox_2)
        self.radioButton_lession_select_in_refresh_by_lessionnum.setGeometry(QtCore.QRect(190, 40, 111, 16))
        self.radioButton_lession_select_in_refresh_by_lessionnum.setChecked(False)
        self.radioButton_lession_select_in_refresh_by_lessionnum.setObjectName(_fromUtf8("radioButton_lession_select_in_refresh_by_lessionnum"))
        self.spinBox_lession_selector_sleep_time = QtGui.QSpinBox(self.groupBox_2)
        self.spinBox_lession_selector_sleep_time.setGeometry(QtCore.QRect(277, 10, 51, 22))
        self.spinBox_lession_selector_sleep_time.setMinimum(1)
        self.spinBox_lession_selector_sleep_time.setMaximum(48)
        self.spinBox_lession_selector_sleep_time.setProperty("value", 2)
        self.spinBox_lession_selector_sleep_time.setObjectName(_fromUtf8("spinBox_lession_selector_sleep_time"))
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setGeometry(QtCore.QRect(170, 11, 101, 20))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.label_8 = QtGui.QLabel(self.tab_online_keeper)
        self.label_8.setGeometry(QtCore.QRect(186, 352, 51, 20))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.spinBox_relogin_sleep_time = QtGui.QSpinBox(self.tab_online_keeper)
        self.spinBox_relogin_sleep_time.setGeometry(QtCore.QRect(260, 350, 81, 22))
        self.spinBox_relogin_sleep_time.setMinimum(1800)
        self.spinBox_relogin_sleep_time.setMaximum(3600)
        self.spinBox_relogin_sleep_time.setSingleStep(60)
        self.spinBox_relogin_sleep_time.setProperty("value", 1800)
        self.spinBox_relogin_sleep_time.setObjectName(_fromUtf8("spinBox_relogin_sleep_time"))
        self.tabWidget.addTab(self.tab_online_keeper, _fromUtf8(""))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.textEdit = QtGui.QTextEdit(self.tab)
        self.textEdit.setGeometry(QtCore.QRect(10, 10, 351, 431))
        self.textEdit.setObjectName(_fromUtf8("textEdit"))
        self.tabWidget.addTab(self.tab, _fromUtf8(""))

        self.retranslateUi(MainDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.pushButton_online_keeper_cancel, QtCore.SIGNAL(_fromUtf8("clicked()")), self.online_keeper_passwd.clear)
        QtCore.QObject.connect(self.pushButton_online_keeper_cancel, QtCore.SIGNAL(_fromUtf8("clicked()")), self.online_keeper_username.clear)
        QtCore.QObject.connect(self.pushButton_online_keeper_cancel, QtCore.SIGNAL(_fromUtf8("clicked()")), self.online_keeper_account_list.clearSelection)
        QtCore.QMetaObject.connectSlotsByName(MainDialog)

    def retranslateUi(self, MainDialog):
        MainDialog.setWindowTitle(_translate("MainDialog", "21Th-Cheater-Pro", None))
        self.groupBox.setTitle(_translate("MainDialog", "账号", None))
        self.label.setText(_translate("MainDialog", "用户名", None))
        self.label_2.setText(_translate("MainDialog", "密码", None))
        self.pushButton_online_keeper_add.setText(_translate("MainDialog", "确认/添加", None))
        self.pushButton_online_keeper_cancel.setText(_translate("MainDialog", "清除", None))
        self.pushButton_online_keeper_del.setText(_translate("MainDialog", "删除", None))
        self.pushButton_online_keeper_start.setText(_translate("MainDialog", "开始/停止", None))
        self.label_3.setText(_translate("MainDialog", "刷新间隔(秒)", None))
        self.label_4.setText(_translate("MainDialog", "单次刷学时(秒)", None))
        self.pushButton.setText(_translate("MainDialog", "选课", None))
        self.label_5.setText(_translate("MainDialog", "新增门数", None))
        self.label_6.setText(_translate("MainDialog", "新增学分", None))
        self.pushButton_lession_selector_by_credit.setText(_translate("MainDialog", "选课", None))
        self.groupBox_2.setTitle(_translate("MainDialog", "自动模式", None))
        self.checkbox_lession_select_in_refresh.setText(_translate("MainDialog", "刷新的同时自动选课", None))
        self.radioButton_lession_select_in_refresh_by_credit.setText(_translate("MainDialog", "按学分自动选课", None))
        self.radioButton_lession_select_in_refresh_by_lessionnum.setText(_translate("MainDialog", "按课程数自动选课", None))
        self.label_7.setText(_translate("MainDialog", "自动选课间隔(小时)", None))
        self.label_8.setToolTip(_translate("MainDialog", "设置自动动重登录的间隔时间", None))
        self.label_8.setText(_translate("MainDialog", "重登录(秒)", None))
        self.spinBox_relogin_sleep_time.setToolTip(_translate("MainDialog", "设置自动动重登录的间隔时间", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_online_keeper), _translate("MainDialog", "刷在线", None))
        self.textEdit.setHtml(_translate("MainDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS UI Gothic\'; font-size:8pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-weight:600;\">小工具</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-weight:600;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\';\">制作：</span><a href=\"mailto:araya.akashic@gmail.com\"><span style=\" font-family:\'MS Shell Dlg 2\'; text-decoration: underline; color:#0000ff;\">araya.akashic@gmail.com</span></a></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\';\">项目地址：</span><a href=\"http://stage1st-cheater.googlecode.com\"><span style=\" font-family:\'MS Shell Dlg 2\'; text-decoration: underline; color:#0000ff;\">http://stage1st-cheater.googlecode.com</span></a></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\';\">MIT LICENSE</span></p>\n"
"<hr />\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'monospace\'; color:#494949;\">Copyright (c) 2010-2011 araya.akashic@gmail.com</span></p>\n"
"<p style=\" margin-top:8px; margin-bottom:16px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'monospace\'; color:#494949;\">Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</span></p>\n"
"<p style=\" margin-top:8px; margin-bottom:16px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'monospace\'; color:#494949;\">The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</span></p>\n"
"<p style=\" margin-top:8px; margin-bottom:16px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'monospace\'; color:#494949;\">THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></p>\n"
"<hr />\n"
"<p style=\" margin-top:8px; margin-bottom:16px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\';\">更多信息请移步：</span><a href=\"http://thegaran.info/blog\"><span style=\" font-family:\'MS Shell Dlg 2\'; text-decoration: underline; color:#0000ff;\">http://thegaran.info/blog</span></a></p></body></html>", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainDialog", "程序信息", None))

